.row {
    margin: 1rem 0;
}

html body {
    width: 100%;
    background-color: #eeeeee;
}

.message-textarea {
    min-height: 8rem;
    border-radius: 10px;
    border: none;
}

.info {
    color: gray;
    font-size: 0.8rem;
}

.name-box>input {
    width: 120px;
    display: inline-block;
}

.name-box>span {
    line-height: calc(1.5em + .75rem + 2px);
    margin-right: 0.5rem;
    display: inline-block;
}

.message-container {
    /*padding: 2rem;*/
    min-height: calc(100vh - 520px);
}

.message-wrapper {
    padding-top: .30rem;
    padding-bottom: .30rem;
    /*margin-left: .25rem;*/
    /*margin-right: .25rem;*/
    /*width: 90%;*/
    width: 100%;
    background-color: white;
    /*margin-left: 5px;*/
    margin-bottom: .3rem;
    margin-top: .3rem;
    border-radius: 10px;
    box-shadow: #dddddd 1px 2px 3px;
}

.message-wrapper:hover {
    border-radius: 5px;
}

.message {
    height: 8rem;
    overflow: auto;
    overflow-x: hidden;
    word-break: break-all;
}

.message-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /*justify-content: end;*/
    align-items: start;
}

.message-outer-wrapper {
    padding-right: 0.3rem;
    padding-left: 0.3rem;
    /*position: relative;*/
}

.message-wrapper {
    transition: 0.6s;
    position: relative;
    bottom: 0;
    right: 0;
}

.message-wrapper:hover {
    box-shadow: rgb(224, 220, 221) 8px 5px 8px;
    bottom: 5px;
    right: 5px;
}

/*
Page Selector
*/

.page-select {
    display: none;
}

.page-select::before {
    /*display: none;*/
}

.page-select::after {
    /*display: none;*/
}

.page-label {
    transition: 0.3s;
    width: 30px;
    height: 30px;
    background: white;
    text-align: center;
    box-shadow: #cccccc 1px 2px 3px;
    display: inline-block;
    line-height: 30px;
    border-radius: 10px;
}

input:checked + .page-label   {
    background: #007bff;
    color: white;
    transform: rotate(0deg);
}

.page-label:hover {
    transform: rotate(30deg);
}

.page-list {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 5px;
}

li {
    display: inline-block;
    margin: 0 3px;
}

.page-input {
    width: 100px;
    display: inline-block;
}

.page-jump {
    height: 38px;
    margin-left: 5px;
}

/*
Footer
*/
.footer {
    text-align: center;
    color: gray;
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/*
Animate
*/
@keyframes fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0.1;
    }
}

.fade-out {
    animation-name: fade-out;
    animation-duration: 0.5s;
}

@keyframes fade-in {
    from {
        opacity: 0.1;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation-name: fade-in;
    animation-duration: 0.5s;
}

/*
Scroll Bar
*/
* {
    scrollbar-color: #e5e5e5 white; /* 滑块颜色  滚动条背景颜色 */
    scrollbar-width: thin; /* 滚动条宽度有三种：thin、auto、none */
}

::-webkit-scrollbar {
    background: white;
    width: 5px;
}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
    background: none;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: rgba(167, 167, 167, 0.5);
}